<p id="title"><?php  echo $this->title; ?>  </p>
<form method="POST" name="boo">
<?php
$action = 'insert';
if (isset ( $this->objectData )) {
	$action = 'update';
}
?>
<input type="hidden" name="actiontype" value="<?php echo $action;?>" />
	<input type="hidden" name="Customer_id" id="customer_id"
		value="<?php echo $this->bind('id')?>">
	<div class="elem">
		<label for="customer_username"> Username </label> <input type="text"
			name="Customer_username" id="customer_username"
			value="<?php echo $this->bind('username')?>">
	</div>
	<div class="elem">
		<label for="customer_password"> Password </label> <input type="password"
			name="Customer_password" id="customer_password"
			value="<?php echo $this->bind('password')?>">
	</div>
	<div class="elem">
		<label for="customer_numberphone"> Numberphone </label> <input
			type="text" name="Customer_numberphone" id="customer_numberphone"
			value="<?php echo $this->bind('numberphone')?>">
	</div>
	<div class="elem">
		<label for="customer_email"> Email </label> <input type="text"
			name="Customer_email" id="Customer_email"
			value="<?php echo $this->bind('email')?>">
	</div>
	<div class="elem">
		<label for="customer_address"> Address </label> <textarea cols="20" rows="2"
			name="Customer_address" id="customer_address"
			><?php echo $this->bind('address')?></textarea>
	</div>
	<div class="elem">
		<label for="customer_image"> Image </label>
		 <input type="file" name="Customer_image" id="customer_image" value="<?php echo $this->bind('image')?>">
	</div>

	<?php if($action=='insert')
		echo '<input type="hidden" name="Customer_status" id="customer_status" value="1">';
	?>
	<button type="submit" onclick="document.boo.submit()" style="display: none;">Save</button>
</form>
